home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Multimedia / Resource Library: Multimedia.iso / hypercrd / xcmds / dvlprstc.hqx / Developer Stack 1.3r / card_37110.txt < prev    next >
Encoding:
Text File  |  1991-04-30  |  1.1 KB  |  44 lines

  1. -- card: 37110 from stack: in.3r
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 2612
  5. -- name: Stripper
  6.  
  7.  
  8. -- part contents for background part 2
  9. ----- text -----
  10. Stripper
  11.  
  12. -- part contents for background part 3
  13. ----- text -----
  14.  
  15. Stripper takes a text file and replaces all strings of one or more blanks by a single tab (except blanks leading a line which it deletes).  I was able to do this in Hypertalk but the XCMD is a bit quicker.  
  16.  
  17.  
  18. Alex McKale
  19. Dept. of Physics
  20. OSU
  21. Corvallis, OR 97331
  22.  
  23. ΓÇóΓÇóNote from Steve Drazga, Editor DevStack
  24. I would like to publicly thank Alex for sending in this contribution & supporting the Developer Stack.  It is this kind of support that will keep the Developer Stack alive & thriving.  
  25.  
  26. -- part contents for background part 10
  27. ----- text -----
  28. Syntax:
  29.  
  30. Stripper <InputFile>,<OutputFile>
  31.  
  32. The first parameter is the full pathname to the input file.
  33.  
  34. The second parameter is the full pathname to the output file.
  35.  
  36.  
  37.  
  38. -- part contents for background part 13
  39. ----- text -----
  40. 32
  41.  
  42. -- part contents for background part 30
  43. ----- text -----
  44. XCMD